<?php 
class ContentController extends CommonController{
	public function index(){
		$gid = Q('get.gid',0,'intval');
		$gidData = M()->join("__goods__ g join __commoditydetails__ c on g.gid=c.gid")->find();
		$this->assign("gidData",$gidData);
	    $this->display();
	}
}
